/* 
 * File:   biblioteka.h
 * Author: oxplay
 *
 * Created on 22 kwiecień 2012, 17:14
 */

#ifndef BIBLIOTEKA_H
#define	BIBLIOTEKA_H


using namespace std;
namespace rkwolek {

    class MetodaApp {
    protected:
        double tini; // initial time    
        double ison; // initial solution
        double tend; // end time 
        double(*sfn)(double t, double x); // rhs function
    public:
        virtual double* function(int n) = 0;
    };

    class Application {
        MetodaApp *factory;
    public:
        Application(int, double(*)(double, double));
        MetodaApp * getFactory(int, double(*)(double, double));
        void normalize();
    };
}

#endif	/* BIBLIOTEKA_H */

